package com.imooc.eureka.controller;

import com.imooc.api.controller.user.HelloControllerApi;
import com.imooc.grace.result.GraceJSONResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description : Hello Eureka 注册中心!
 * @Author : YTY
 * @Date : 2020-12-09 09:06
 */

@RestController
public class HelloController implements HelloControllerApi {

    final static Logger logger = LoggerFactory.getLogger(HelloController.class);

    @Override
    public Object Hello() {

        return GraceJSONResult.ok("Hello Eureka 注册中心!");
    }

}
